/* 
 * 创建日期 2011-7-5
 *
 * 成都天和软件公司
 * 电话：028-85425861 
 * 传真：028-85425861-8008 
 * 邮编：610041 
 * 地址：成都市武侯区航空路6号丰德万瑞中心B座1001 
 * 版权所有
 */
package  org.fantasy.cpp.core.pojo;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import  org.fantasy.cpp.core.annotation.Field;

/**
 * 数据源类型
 * 
 * @author 王文成
 * @version 1.0
 * @since 2011-7-5
 */
@Table("SOURCE_TYPE")
public class SourceType {

	@Id
	@Column("source_type_id")
	@Field(desc = "数据源类型id", nullable = false)
	private Long sourceTypeId;

	@Column("source_type_name")
	@Field(desc = "数据源类型名称", nullable = false, maxlenth = 64)
	private String sourceTypeName;

	@Column("source_type_desc")
	@Field(desc = "数据源类型描述", nullable = false, maxlenth = 1024)
	private String sourceTypeDesc;

	@Column("state")
	@Field(desc = "状态", nullable = false, maxlenth = 3)
	private String state;

	public Long getSourceTypeId() {
		return sourceTypeId;
	}

	public void setSourceTypeId(Long sourceTypeId) {
		this.sourceTypeId = sourceTypeId;
	}

	public String getSourceTypeName() {
		return sourceTypeName;
	}

	public void setSourceTypeName(String sourceTypeName) {
		this.sourceTypeName = sourceTypeName;
	}

	public String getSourceTypeDesc() {
		return sourceTypeDesc;
	}

	public void setSourceTypeDesc(String sourceTypeDesc) {
		this.sourceTypeDesc = sourceTypeDesc;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}
